#ifndef NRPSTG_TEXTUREMANAGER_H
#define	NRPSTG_TEXTUREMANAGER_H

#include <GL/gl.h>
#include <GL/glu.h>
#include <string>
#include <boost/unordered_map.hpp>

using namespace boost;
using namespace std;

class TextureManager {
private:
    static TextureManager* _instance;
    unordered_map<string, GLuint> _textures;
    TextureManager();
public:
    virtual ~TextureManager();

    static TextureManager* getInstance();
    GLuint get_texture(string filename, GLint filter=GL_LINEAR);
};

#endif	/* NRPSTG_TEXTUREMANAGER_H */